GDK W32: Fix the filling of MINMAXINFO
authorРуслан Ижбулатов <lrn1986@gmail.com>
Wed, 24 Feb 2016 17:20:33 +0000 (17:20 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Fri, 26 Feb 2016 08:02:03 +0000 (08:02 +0000)
commitc61764b0f9248cf419bfef251184ccd81855b59c
treee385761678380ff081b7d97be1e1ab8e7d886d74
parentd3f713529ab2c1fcbf1a35de0a3a38cf9fb49399
GDK W32: Fix the filling of MINMAXINFO

1) MSDN says that the coordinates of the maximized window
   must be specified as if the window was on the primary display,
   even if nearest display where it ends up is not the primary display.
   So instead of using nearest display work area verbatim,
   use it only to account for taskbar size, while using
   primary display top-left corner (0:0) as the reference point.
2) MSDN says that max tracking size is a system property, we
   should just call GetSystemMetrics() and use that.

https://bugzilla.gnome.org/show_bug.cgi?id=762629
gdk/win32/gdkevents-win32.c